<#if datalist.totalPage = 0>
	<div class="card">
	    <div class="card-header no-border">暂无数据</div>
	</div>
<#else>
	<input type="hidden" id="_currentPage" value="${currentPage!2}">
	<input type="hidden" name="_totalRow" value="${datalist.totalRow!1}">
	<#list datalist.getList() as vo>
		<div class="card facebook-card">
		  <div class="card-header color-white no-border">
		    <div class="facebook-avatar">
		    	<img src="${vo.usericon}" style="width:2.5rem; height:2.5rem;">
		    </div>
		    <div class="facebook-name"><span style="font-size:0.8rem;font-weight:bold;margin-left: 0.7rem;">${vo.nickname}</span>
		    	<#if vo.userlevel=1>    <span class="iconfont icon-likefill" style="color:#721ea1;"></span>
		    	<#elseif vo.userlevel=2><span class="iconfont icon-likefill" style="color:#721ea1;"></span>
		    							<span class="iconfont icon-likefill" style="color:#721ea1;margin-left: -0.15rem;"></span>
		    	<#elseif vo.userlevel=3><span class="iconfont icon-likefill" style="color:#721ea1;"></span>
		    							<span class="iconfont icon-likefill" style="color:#721ea1;margin-left: -0.15rem;"></span>
		    							<span class="iconfont icon-likefill" style="color:#721ea1;margin-left: -0.15rem;"></span>
		    	<#elseif vo.userlevel=4><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
		    	<#elseif vo.userlevel=5><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
		    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;margin-left: -0.15rem;"></span>
		    	<#elseif vo.userlevel=6><span class="iconfont icon-choicenessfill" style="color:#d3217b;"></span>
		    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;margin-left: -0.15rem;"></span>
		    							<span class="iconfont icon-choicenessfill" style="color:#d3217b;margin-left: -0.15rem;"></span>
		    	<#elseif vo.userlevel=7><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
		    	<#elseif vo.userlevel=8><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
		    							<span class="iconfont icon-crownfill" style="color:#f16522;margin-left: -0.15rem;"></span>
		    	<#elseif vo.userlevel=9><span class="iconfont icon-crownfill" style="color:#f16522;"></span>
		    							<span class="iconfont icon-crownfill" style="color:#f16522;margin-left: -0.15rem;"></span>
		    							<span class="iconfont icon-crownfill" style="color:#f16522;margin-left: -0.15rem;"></span>
		    	</#if>
		    </div>
		    <div class="facebook-date" style="margin-left:3rem;">
		    	<span class="badge" style="margin-left:0.2rem;background-color:#fff;font-size: 0.6rem;border:1px solid #ff6600;color:#ff6600;">
		    		${vo.sellerType}</span>
		    	<span class="badge" style="margin-left:0.2rem;background-color:#fff;font-size: 0.6rem;border:1px solid #ff6600;color:#ff6600;">
		    		${vo.sellerShortAddress}</span>	
		    </div>
		  </div>
		  <div class="card-content" style="margin-left: 0.5rem;margin-right: 0.5rem;margin-left:3.7rem;">
		  	<div style="margin-top:0.25rem;margin-bottom:0.25rem;word-wrap:break-word;font-size:0.8rem;">${vo.content!""}</div>
		  	<div>
		  	<#if vo.picStr?? && vo.picStr !="">
			  	${vo.picStr}
			  	${vo.picDetStr!""}
		  	</#if>
		  	</div>
		  	<div class="row" style="margin-top: 0.25rem;margin-bottom: 0.25rem;margin-left:0%">
	    		<#if vo.status=1>
    				<a href="#" onclick="deleteBbs('${vo.id}')" style="float:right;margin-right:0.5rem;">
		    			<span class="iconfont icon-delete" style="color:red;font-size:1.2rem;"></span>
		    		</a>
    			<#else>
	    			<a href="#" style="float:right;margin-right:0.5rem;color:#f16522;">
		    			<i ${(vo.commentCount?? && vo.commentCount &gt; 0)?string('class="iconfont icon-commentfill"','class="iconfont icon-comment"')} style="margin-right:0.25rem"></i>
		    			<span class="comcount">${vo.commentCount!0}</span>
		    		</a>
	    		</#if>
	    		<#if uservo??>
		    		<a href="#" onclick="sendyes(this,'${vo.id}')" style="float:right;margin-right:1rem;color:#f16522;">
		    			<i ${(vo.yesFlag?? && vo.yesFlag==1)?string('class="iconfont icon-likefill"','class="iconfont icon-like"')} style="margin-right:0.25rem;"></i>
		    			<span class="yescount">${vo.yescount!0}</span>
		    		</a>
		    		<a href="#" style="float:right;margin-right:1rem;color:#f16522;" class="activeCountA">
		    			<span ${(vo.activeCount?? && vo.activeCount &gt; 0)?string('class="iconfont icon-attentionfill"','class="iconfont icon-attention"')} style="margin-right:0.25rem;"></span>
		    			<span class="activeCount">${vo.activeCount!0}</span>
		    		</a>
	    		<#else>
	    			<#if vo.status=1>
	    				<a href="#" onclick="editBbs('${vo.id}')" style="float:right;margin-right:1.5rem;">
			    			<span class="iconfont icon-edit" style="font-size:1.2rem;margin-right:0.25rem;"></span>
			    		</a>
	    			<#else>
	    				<#if vo.status=0>
		    				<a href="#" onclick="downBbs('${vo.id}')" style="float:left;margin-right:1rem;">
				    			<span class="iconfont icon-close" style="color:red;font-size:1.2rem;"></span>
				    		</a>
				    		<a href="#" onclick="extendBbs('${vo.disid}','${vo.id}')" style="float:left;">
				    			<span class="iconfont icon-post" style="font-size:1.2rem;"></span>
				    		</a>
			    		</#if>
	    				<a href="#" style="float:right;margin-right:1rem;color:#f16522;">
			    			<i ${(vo.yesFlag?? && vo.yesFlag==1)?string('class="iconfont icon-likefill"','class="iconfont icon-like"')} style="margin-right:0.5rem;"></i>
			    			<span class="yescount">${vo.yescount!0}</span>
		    			</a>
		    			<a href="#" style="float:right;margin-right:1rem;color:#f16522;" class="activeCountA">
			    			<span ${(vo.activeCount?? && vo.activeCount &gt; 0)?string('class="iconfont icon-attentionfill"','class="iconfont icon-attention"')} style="margin-right:0.25rem;"></span>
			    			<span class="activeCount">${vo.activeCount!0}</span>
			    		</a>
	    			</#if>
	    		</#if>
		  	</div>
		  </div>
		  <div class="card-footer no-border" style="display:block;margin-left: 3.7rem;margin-right: 0.5rem;padding-left: 0.2rem;">
			<#if vo.yesStr??>
			<div class="yeslist">
				<span class="iconfont icon-likefill" style="color:#f16522;margin-right:0.2rem;color:#d81e06;"></span>
				<span class="yesNameStr">${vo.yesStr!""}</span>
			</div>
			<hr style="border-color: rgba(204, 204, 204, 0.2);">
			</#if>
			<div class="replylist">
				${vo.commStr!""}
			</div>
			<#if uservo??>
			<div style="margin-top:0.25rem;display:flex">
				<input style="margin-left:0.04rem;width: 14rem;margin-right: 0.25rem;border:0;border-bottom:1 solid black;background:;" id="reply" placeholder="我也说一句...">
				<a href="#" onclick="sendreply(this,'${vo.id}')" class="button button-fill" style="background-color:#f16522;color:#ffffff;width: 2.8rem;height:1.3rem">发送</a>
			</div>
			</#if>
		  </div>
		</div>
	</#list>
</#if>